﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style3
        {
            height: 309px;
            width: 578px;
        }
        .style6
        {
            height: 48px;
            font-size: medium;
        }
        .style7
        {
            height: 46px;
        }
        .style8
        {
            height: 44px;
        }
        .style9
        {
            height: 344px;
            width: 524px;
        }
        .style12
        {
            height: 30px;
        }
        .style13
        {
            height: 42px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:Login ID="Login1" runat="server" align="center"
    onauthenticate="Login1_Authenticate" BackColor="#E3EAEB" BorderColor="#000066" 
        BorderPadding="4" BorderStyle="Solid" BorderWidth="2px" Font-Names="Verdana" 
        Font-Size="0.8em" ForeColor="#333333" Height="250px" TextLayout="TextOnTop" 
        Width="16px" style="text-align: left; font-size: medium; margin-left: 0px;" 
        onloginerror="Login1_LoginError" onloggedin="Login1_LoggedIn">
    <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
    <LayoutTemplate>
        <table cellpadding="4" cellspacing="0" style="border-collapse:collapse;">
            <tr>
                <td class="style3">
                    <table cellpadding="0" style="font-size: x-small;" class="style9">
                        <tr>
                            <td align="center" 
                                
                                
                                style="color:White;background-color:#506272; font-weight:bold;" 
                                bgcolor="#000066" class="style6">
                                Log In</td>
                        </tr>
                        <tr>
                            <td class="style13">
                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" 
                                    style="font-size: medium">User Name:</asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="style13">
                                <asp:TextBox ID="UserName" runat="server" Font-Size="Large" 
                                    Width="300px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                    ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                    ToolTip="User Name is required." ValidationGroup="Login1" ForeColor="Red">Username is required</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="style13">
                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" 
                                    style="font-size: medium">Password:</asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="style13">
                                <asp:TextBox ID="Password" runat="server" Font-Size="Large" TextMode="Password" 
                                    Width="300px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                    ControlToValidate="Password" ErrorMessage="Password is required." 
                                    ToolTip="Password is required." ValidationGroup="Login1" ForeColor="Red">Password is required</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="style8">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="center" style="color:Red;" class="style7">
                                <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" height="15" class="style12">
                                <asp:Button ID="LoginButton" runat="server" BackColor="White" 
                                    BorderColor="#C5BBAF" BorderStyle="Solid" BorderWidth="1px" CommandName="Login" 
                                    Font-Names="Verdana" Font-Size="Large" ForeColor="#1C5E55" Text="Log In" 
                                    ValidationGroup="Login1" Width="75px" Height="32px" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </LayoutTemplate>
    <LoginButtonStyle BackColor="White" BorderColor="#C5BBAF" BorderStyle="Solid" 
        BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#1C5E55" />
    <TextBoxStyle Font-Size="0.8em" />
    <TitleTextStyle BackColor="#1C5E55" Font-Bold="True" Font-Size="0.9em" 
        ForeColor="White" />
</asp:Login>
    <br />
    <asp:HyperLink ID="PasswordRecoverHyperLink1" runat="server" 
        NavigateUrl="~/PasswordRecovery.aspx">Click here to recover your User ID and Password</asp:HyperLink>
    <br />
    <br />
        </asp:Content>

